import axios from './axios'

//材料计划列表(分页)
export function getFmamPlanList(params) {
    const url = '/ms/api/fmam/plan/list'
    return axios.get(url, params)
}
//材料计划列表(分页)
export function getFmamPlanListCount(params) {
    const url = '/ms/api/fmam/plan/list/count'
    return axios.get(url, params)
}
//新增计划
export function getFmamPlanAdd(params) {
    const url = '/ms/api/fmam/plan/add'
    return axios.post(url, params)
}
//计划详情
export function getFmamPlanDetail(params) {
    const url = '/ms/api/fmam/plan/detail'
    return axios.get(url, params)
}
//材料计划审批(废弃)
export function getFmamPlanCheck(params) {
    const url = '/ms/api/fmam/plan/check'
    return axios.post(url, params)
}
//材料计划-审核(一审)
export function getFmamPlanCheck1(params) {
    const url = '/ms/api/fmam/plan/check1'
    return axios.post(url, params)
}
//材料计划-复审(二审)
export function getFmamPlanCheck2(params) {
    const url = '/ms/api/fmam/plan/check2'
    return axios.post(url, params)
}
//材料计划-核验(三审)
export function getFmamPlanCheck3(params) {
    const url = '/ms/api/fmam/plan/check3'
    return axios.post(url, params)
}

//材料计划重填
export function getFmamPlanEdit(params) {
    const url = '/ms/api/fmam/plan/edit'
    return axios.post(url, params)
}

/* 视频监控列表 */
export function fmamMonitorList(params) {
    const url = '/ms/api/fvs/list/pound'
    return axios.get(url, params)
}

